<template>
  <div>
    <Child>
      <template #user="{user}">
         姓名:{{user.name}} 
         </template>
    </Child>
  </div>
</template>

<script>
import Child from "./children";
export default {
  name: "VueDemoIndex",
  components: {
    Child,
  },
};
</script>

<style scoped>
</style>